package com.tangxz.chat.modules.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description: 用户表
 * @Author: 唐小尊
 * @Date:   2021-04-20
 * @Version: V1.0
 */
@Data
@TableName("t_user")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="t_user对象", description="用户表")
public class TUser implements Serializable{
    
	/**用户id*/
	@TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "用户id")
	private String id;
	/**用户昵称*/
    @ApiModelProperty(value = "用户昵称")
	private String nickName;
	/**用户姓名*/
    @ApiModelProperty(value = "用户姓名")
	private String realName;
	/**用户盐值加密后密码*/
    @ApiModelProperty(value = "用户盐值加密后密码")
	private String password;
	/**盐值*/
    @ApiModelProperty(value = "盐值")
	private String salt;
	/**头像*/
    @ApiModelProperty(value = "头像")
	private String avatar;
	/**电话*/
    @ApiModelProperty(value = "电话")
	private String phone;
	/**邮箱*/
    @ApiModelProperty(value = "邮箱")
	private String email;
	/**点赞数*/
    @ApiModelProperty(value = "点赞数")
	private Integer praiseNum;
	/**卖出商品数*/
    @ApiModelProperty(value = "卖出商品数")
	private Integer sellingVolume;
	/**级别*/
    @ApiModelProperty(value = "级别")
	private Integer level;
}
